package com.maimao.api.mall.info;

import com.maimao.core.model.resp.Result;
import com.maimao.model.info.Address;
import com.maimao.model.info.IntegralAction;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;
import java.util.Map;

/**
 * @author MaoLin Wang
 * @date 2020/12/29 9:29 下午
 */
@Api(value = "积分日志")
@RequestMapping("/info/integral-action")
public interface IntegralActionApi {

    @ApiOperation("保存积分日志")
    Result<?> saveBatch(List<IntegralAction> integralActionList);

    @ApiOperation("用户积分轨迹")
    Result<?>userIntegralActionData();

}
